import java.awt.*;

/**
 * 
 * descrie un triunghi standard
 */
public class stdTriangle extends Triangle
{
   public stdTriangle(Point a, Point b, Point c)
   {
    super(a, b, c);
   }
   
   /**
    * implementeaza metoda abstracta din interfata
    * desenarea celei de-a doua linii
    */
   public Point draw2ndLine(Graphics g, Point a, Point b)
   {
      g.drawLine(a.x, a.y, b.x, b.y);
      return  b;
   }
}
